package com.qingcloud.base.remote.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class MenuDTO implements Serializable {

    @ApiModelProperty(value = "", example = "")
    private String id;

    @ApiModelProperty(value = "上级id", example = "")
    private String parentId;

    @ApiModelProperty(value = "编码", example = "1")
    private String code;

    @ApiModelProperty(value = "菜单名称", example = "")
    private String menuName;  //菜单名称

    @ApiModelProperty(value = "菜单英文名称", example = "")
    private String menuNameEn;  //菜单名称

    @ApiModelProperty(value = "菜单连接", example = "")
    private String menuUrl;  //菜单链接

    @ApiModelProperty(value = "排序序号", example = "")
    private Integer orderNo;  //排序序号

    @ApiModelProperty(value = "菜单图片样式表", example = "")
    private String icon;      //菜单图片样式表

    @ApiModelProperty(value = "1:网格化菜单；2：健康云菜单", example = "")
    private Integer menuType; //1:网格化菜单；2：健康云菜单

    @ApiModelProperty(value = "子菜单列表", example = "")
    private List<MenuDTO> childList; //子菜单列表

    @ApiModelProperty(value = "是否有菜单 true有, false没有", example = "false")
    private Boolean haveChildren;

    @ApiModelProperty(value = "是否是从自身身份来的功能条目 1-是 0-不是", example = "1")
    private Integer roleFlag;

}
